// 获取验证码
export const getCaptcha = function(data) {
    return $.http('/apis/blade-auth/oauth/captcha', data, 'get');
};
// 发送短信验证码
export const getMessageCode = function(data) {
    return $.http('/apis/blade-auth/register/sendPhoneCode', data, 'get');
};
// 执行注册
export const doRegister = function(data) {
    return $.http('/apis/blade-auth/register/doregister', data, 'get');
};
// 执行登录
export const doLogin = function(data) {
    return $.http('/apis/blade-auth/register/login', data, 'get');
};